'use strict';

function collect_all_even(collection) {
    let arr=[]; 
    for(let num of collection)
    {
      if(num%2==0)
      arr.push(num);
    }
    return arr;
  }
  module.exports = collect_all_even;
  
